<!-- 用户协议		agreement -->
<template>
	<view class="p20">
		<rich-text :nodes="details"></rich-text>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				details:''
			}
		},
		onLoad() {
			// 动态导航条文字
			uni.setNavigationBarTitle({
				title: '用户协议'
			})
			this.init()
		},
		methods: {
			init(){
				var that = this
				that.$http.post(that.$config.UrlPostxieyi, {}).then((res) => {
					if (res.status == 1) {
						that.details = res.data
					}
				})
			}
		}
	}
</script>

<style scoped>
	page{
		background-color: #FFFFFF
	}
</style>
